package com.wtwd.device.service;


import com.wtwd.device.model.entity.HeartRateRecord;
import com.wtwd.device.model.vo.RespEntity;

/**
 * @author mjy
 * @date 2021/09/02
 * @description
 */
public interface HeartRateService {
    RespEntity getDaysHeartRateList(Integer deviceId, String startTime, String endTime);

    RespEntity getMonthHeartRateList(Integer deviceId, String month);

    RespEntity<HeartRateRecord> addHeartRate(HeartRateRecord heartRateRecord);

    Integer clearHeartRateByDate(String date);

    HeartRateRecord getHeartRateByDeviceIdAndTime(Long id, String time);

    Integer deleteHeartRateByDeviceId(Long id);
}
